﻿		<?php
				session_start();
				include_once('../config.php');
				include_once("../database/DataBase.php");
				include_once("function.php");

				$login_id = $_POST["login_id"];
				
				$database = New DataBase();
				$database->open_connection();
				$result = $database->getUserByLoginID($login_id);
				
				if(mysql_num_rows($result) == 0){
					echo "true";
				}
				else{
					echo "Login name exists.";
				}
				
				$database->close_connection();
		?>